{include file="Index/header" /}
 
    <form action="{:url('System/config')}" method="post" /> 
	    <input type="hidden" name="sbt" value="1">
    	<div class="formbody">
    		<div class="formtitle"><span>系统设置</span></div>
		    <ul class="forminfo">
		     	
			    <li>
			    	<label>官方邮址</label>
			    	<input name="email" type="text" class="dfinput"  value="{$sysConfig.email}" size="30"/>
			    </li>
			    <li>
			    	<label>送拍热线</label>
			    	<input name="tel" type="text" class="dfinput" value="{$sysConfig.tel}" size="30"/>
			    </li> 
			    <li>
			    	<label>公众号二维码</label>
			    	<div style="float:left;margin-bottom:10px;">
			    	  <input name="erweima" id="img1" type="text" readonly class="dfinput" value="{$sysConfig.erweima}" size="80"/>
			    	  
			    	 </div>
			    	<label class="config-upload">
								上传<input style="width:0px;" accept="image/*" name="img" id="uploadFile1" onchange="uploadImg(1);" type="file">
					</label>
					<div class="config-upload">
						<a href="javascript:void(0);" onclick="showPic(1);">预览</a>
					</div>
			    </li>
			    <li>
			    	<label>图片logo</label>
			    	<div style="float:left;margin-bottom:10px;">
			    	<input name="logo" type="text" id="img2" readonly class="dfinput" value="{$sysConfig.logo}" size="80"/>
			    	</div>
			    	<label class="config-upload">
								上传<input style="width:0px;" accept="image/*" name="img" id="uploadFile2" onchange="uploadImg(2);" type="file">
					</label>
					<div class="config-upload">
						<a href="javascript:void(0);" onclick="showPic(2);">预览</a>
					</div>
					
			    </li>
			    
			    <li>
			    	<label>左上角小图标</label>
			    	<div style="float:left;margin-bottom:10px;">
			    	<input name="favicon" type="text" id="img3" readonly class="dfinput" value="{$sysConfig.favicon}" size="80"/>
			    	</div>
			    	<label class="config-upload">
								上传<input style="width:0px;" accept="image/*" name="img" id="uploadFile3" onchange="uploadImg(3);" type="file">
					</label>
					<div class="config-upload">
						<a href="javascript:void(0);" onclick="showPic(3);">预览</a>
					</div>
					
			    </li>
			  	
		    	<li>
		    	 	<label>QQ</label>
			    	<input name="qq" type="text" class="dfinput" value="{$sysConfig.qq}" size="80"/>
			    </li>
			    <li>
			    	<label>微信</label>
			    	  <input name="weixin" type="text" class="dfinput" value="{$sysConfig.weixin}" size="80"/>
			    </li>
			    <li>
			    	<label>微博</label>
			    	  <input name="weibo" type="text" class="dfinput" value="{$sysConfig.weibo}" size="80"/>
			    </li>
			    <li><label>公司地址</label>
			    	  <input name="address" type="text" class="dfinput" value="{$sysConfig.address}" size="80"/>
			    </li>
			    <li>
		    	 	<label>电话</label>
			    	<input name="mobile" type="text" class="dfinput" value="{$sysConfig.mobile}" size="80"/>
			    </li>
			  	<li>
		    	 	<label>邮箱</label>
			    	<input name="qqEmail" type="text" class="dfinput" value="{$sysConfig.qqEmail}" size="80"/>
			    </li>
			     <li><label>SEO标题</label>
			    	  <input name="seoTitle" type="text" class="dfinput" value="{$sysConfig.seoTitle}" size="80"/>
			    </li>
			     <li><label>SEO关键字</label>
			    	  <input name="seoKeywords" type="text" class="dfinput" value="{$sysConfig.seoKeywords}" size="80"/>
			    </li>
			     <li><label>SEO描述</label>
			    	  <input name="seoDescription" type="text" class="dfinput" value="{$sysConfig.seoDescription}" size="80"/>
			    </li>
			    
			    <li>
			    	<label>&nbsp;</label>
			   		 <input name="sbt" type="submit" class="btn" value="确认保存"/>
			   	</li>
		    </ul>
    	</div>
	</form>
<script>
function uploadCall(obj,path){
	 $("#img"+obj).val(path);
}
//预览
function showPic(obj){
	art.dialog.open($("#showPic").val()+'?pic='+$("#img"+obj).val(),{title:'图片预览'});
}

</script>

{include file="Index/footer" /}